from django.db import models
from utils.models import CoreModel   


class ProductGroup(CoreModel):
    product_group = models.IntegerField(primary_key=True, help_text="产品组主键", verbose_name="产品组主键")
    name = models.CharField(null=True, blank=True, max_length=16, verbose_name='名称', help_text='名称')
    class Meta:
        db_table = 'productgroup'
        verbose_name = '产品组'
        verbose_name_plural = verbose_name
        ordering = ('-creation_on',)
    